package com.jike.mahjong.model;

import java.io.Console;
import java.io.Serializable;
import java.util.Date;

import com.jike.mahjong.common.Constants;


/**
 * 产品套餐表
 * @author Tears
 *
 */
public class Products implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Integer productId;
	
	private String productName;
	
	private Integer diamondNumbers;
	
	private Double producPrice;
	
	private Double unitPrice;//单位价格
	
	private Integer authorityLevel=Constants.authorityLevelA;//权限级别
	
	private LimitedType limitedType=LimitedType.NONE;//限时类型  ：星期，时间段，某一天
	
	private Week weekday;		//星期几：限时类型为Week时使用
	
	private Date startTime;		//开始日期：限时类型为TIMEQUANTUM时使用
	
	private Date endTime;		//结束日期：限时类型为TIMEQUANTUM时使用
	
	private Date createTime;
	
	private Date modifyTime;
	
	private Boolean closeFlag=false;//是否关闭
	
	private Boolean disabled=false;//是否有效
	public Integer getProductId() {
		return productId;
	}
	public void setProductId(Integer productId) {
		this.productId = productId;
	}
	public String getProductName() {
		return productName;
	}
	public void setProductName(String productName) {
		this.productName = productName;
	}
	public Integer getDiamondNumbers() {
		return diamondNumbers;
	}
	public void setDiamondNumbers(Integer diamondNumbers) {
		this.diamondNumbers = diamondNumbers;
	}
	public Double getProducPrice() {
		return producPrice;
	}
	public void setProducPrice(Double producPrice) {
		this.producPrice = producPrice;
	}
	public Double getUnitPrice() {
		return unitPrice;
	}
	public void setUnitPrice(Double unitPrice) {
		this.unitPrice = unitPrice;
	}
	public LimitedType getLimitedType() {
		return limitedType;
	}
	public void setLimitedType(LimitedType limitedType) {
		this.limitedType = limitedType;
	}
	public Week getWeekday() {
		return weekday;
	}
	public void setWeekday(Week weekday) {
		this.weekday = weekday;
	}
	public Date getStartTime() {
		return startTime;
	}
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	public Date getEndTime() {
		return endTime;
	}
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getModifyTime() {
		return modifyTime;
	}
	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}
	public Boolean getCloseFlag() {
		return closeFlag;
	}
	public void setCloseFlag(Boolean closeFlag) {
		this.closeFlag = closeFlag;
	}
	public Boolean getDisabled() {
		return disabled;
	}
	public void setDisabled(Boolean disabled) {
		this.disabled = disabled;
	}
	public Integer getAuthorityLevel() {
		return authorityLevel;
	}
	public void setAuthorityLevel(Integer authorityLevel) {
		this.authorityLevel = authorityLevel;
	}
	
	
}
